package com.demo.wormhole.component.mock.annotation;

import com.demo.wormhole.component.mock.strategy.DefautlWormholeMockCallback;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface WormholeMock {
    
    byte passRate() default 75;
    
    long minDelayTime() default 0;
    
    long maxDelayTime() default 0;
    
    Class callback() default DefautlWormholeMockCallback.class;
    
}
